*{ This template lists all ideas in an idea list, the result may vary based on mode }*

<div class="ideas">
#{list items:_ideas, as:'idea'}

	<div class="idea">
		#{if idea.organization.privacy.equalsIgnoreCase("private") && !(idea.organization.isMember(_user)) }
			<h3 class="title">${idea.title}</h3> 
		#{/if}
		#{else}
			<a href="@{Ideas.show(idea.id)}"> <h3 class="title">${idea.title}</h3> </a> 
		#{/else}
		<div class="ideaDetail">
			${idea.ideaDetail}
		</div>
	</div>

#{/list}
#{else} 
#{if _mode == 'search' }<br /> no Idea was found that matches your search criteria #{/if}
#{if _mode == 'normal' } There are no ideas to display #{/if}
#{/else}
</div>